<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Simple Module <i>UnitDisk</i></h2>
<b>Package:</b> org.mixim.modules.connectionManager<br/><b>File: <a href="modules-connectionManager-UnitDisk.ned.html">modules/connectionManager/UnitDisk.ned</a></b><br/><p><a href="../doxy/a00201.html" target="mainframe"><b>C++ definition</b></a></p>
<p>(no description)</p><img src="org.mixim.modules.connectionManager.UnitDisk-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="org.mixim.modules.connectionManager.UnitDisk.html" title="UnitDisk" alt="UnitDisk" coords="0,0,100,40">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.connectionManager.UnitDisk-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="org.mixim.modules.connectionManager.UnitDisk.html" title="Simple Module UnitDisk" alt="" coords="5,6,77,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.connectionManager.UnitDisk-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="org.mixim.modules.connectionManager.UnitDisk.html" title="Simple Module UnitDisk" alt="" coords="5,6,77,34">
</map>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr class="local">
   <td width="150">radioRange</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
   </td>
</tr>
<tr class="local">
   <td width="150">pMax</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>below are unused here, but needed for <a href="org.mixim.base.phyLayer.BasePhyLayer.html">BasePhyLayer</a>
maximum sending power used for this network (in mW)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">sat</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum signal attenuation threshold (in dBm)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">alpha</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum path loss coefficient</p>
   </td>
</tr>
<tr class="local">
   <td width="150">carrierFrequency</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum carrier frequency of the channel (in Hz)</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #800000; font-weight: bold; ">simple</span><span style="color: #000000; "> </span><span style="color: #000000; ">UnitDisk</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">bool</span><span style="color: #000000; "> </span><span style="color: #000000; ">debug</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// debug switch
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">radioRange</span><span style="color: #000000; ">;

        </span><span style="color: #808080; font-style: italic; ">// below are unused here, but needed for BasePhyLayer
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">// maximum sending power used for this network (in mW)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">pMax</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// maximum sending power used for this network (in mW)
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">// minimum signal attenuation threshold (in dBm)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">sat</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// minimum signal attenuation threshold (in dBm)
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">// minimum path loss coefficient
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">alpha</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// minimum path loss coefficient
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">// minimum carrier frequency of the channel (in Hz)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">carrierFrequency</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// minimum carrier frequency of the channel (in Hz)
</span><span style="color: #000000; ">}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
